home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / misc1 / lpdos.zip / LPDOS.TXT < prev    next >
Text File  |  1992-01-09  |  10KB  |  281 lines

  1. L/P Dos Version 1.0b Beta Release.
  2.  
  3.     L/P Dos is another attempt at making DOS CommandLiners feel more comfortable in the Windows 3.0 enviroment. This version is a Beta release of a future ShareWare product, it is free for distribution so long as all the files in the archive are kept intact and not modified in any way, shape or form. I am releasing this version for the sole purpose of testing, so please give it all you've got and try your best to crash it. (I may regret that statement!) My address is listed at the bottom of this introduction and I will gladly welcome all reports on L/P Dos, I want to make this something everyone NEEDS, not just puts on their system as another pretty. In return for helping me with L/P Dos I will register those people who contact me with reports of bugs or suggestions that will better the program, for absolutely nothing. Also, if someone wants to volunteer to help me out with the documentation, I will make it worth the effort.
  4.     To give you some background about L/P Dos... L/P Dos was developed using Microsoft's Visual Basic. For the most part all the standard DOS commands are supported and work the way they do from the command line except as noted below. Batch files are supported and must be named with an ".LPB" extension. Some examples are included in the Archive. The Batch file LPBATCH.LPB, contains working examples of a good many of the commands, try running it for a good demo. To stop any command that has scrolling output press the ESC key. You can start L/P Dos with a Batch file name on the command line and L/P Dos will run the Batch file before returning control to you. As an alternative, if there is a Batch file named LPDOS.LPB in the startup directory L/P Dos will immediately run the file upon startup. Some other points of interest are; Don't name a Batch file with the same name as a command, wierd things will happen (I'm still working on that one...) The command syntax is pretty unforgiving, but for the most part the interpreter in L/P Dos will catch a lot of the syntactical errors. For some reason with Visual Basic I can't always detect keyboard input from certain applications to reset the Saver so it won't activate if you're typing at the keyboard (Windows Write is a good example, I'm pretty sure it has to do with not using the Caret correctly, any suggestions are welcome.), so if the saver starts up when you are not expecting it set the saver delay time to a longer period of time. Mouse input always resets the Saver time. Make sure the .DLL files contained in the archive are in a directory in your DOS search Path, don't use L/P Dos to copy them there. (I tried on a friends machine...Windows wigs out big-time.. Although it is interesting to see a system error dialog scroll.. :D )
  5.     Don't know what else to tell you, more can be learned from playing with it than reading about it, so enjoy!
  6.  
  7.     I can be contacted at:
  8.  
  9.     Craig Morrison
  10.     3036 Chaffee Ct.
  11.     Lafayette, IN 47905-2814
  12.  
  13. LEGAL STUFF
  14.  
  15. THERE IS NO WARRANTY EITHER EXPRESSED OR IMPLIED IN CONJUNCTION WITH THE USE OF THIS SOFTWARE PRODUCT, THEREFORE YOU ARE ASSUMING ALL LIABILITY FROM THE USE OF THIS SOFTWARE PRODUCT. USE IT AT YOUR OWN RISK. I, THE AUTHOR, HAVE MADE EVERY EFFORT TO PRODUCE A WORKING SOFTWARE PRODUCT, THIS SOFTWARE PRODUCT TO THE BEST OF MY KNOWLEDGE AND TESTING WORKS AS DOCUMENTED BELOW. I, THE AUTHOR, ASSUME NO RESPONSIBILITY FOR ANY DAMAGE EITHER CONSEQUENTIAL OR INCONSEQUENTIAL, WHETHER CAUSED OR ALLEDGED TO BE CAUSED FROM THE USE OF THIS SOFTWARE PRODUCT. I, THE AUTHOR, MAKE NO CLAIMS AS TO THE USEABILITY OR SUITABILITY FOR A PARTICULAR PURPOSE OR FITNESS TO A TASK OF THIS SOFTWARE PRODUCT.
  16.  
  17. (Getting off soapbox... I hate that part!)
  18.  
  19.  
  20. L/P Dos Window Command List
  21.  
  22. File Commands.
  23.  
  24. EDIT
  25. Syntax:    EDIT filename
  26.  
  27. Purpose:    Starts the Windows Notepad application with the specified file. If the file doesn't exist a message box will appear asking if the file should be created.
  28.  
  29. COPY
  30. Syntax:    COPY SourceFileSpecification DestinationPath
  31.  
  32. Purpose:    Copies files from the Source FileSpec to the Destination Path. Please note that the DestinationPath should not contain a filename. WildCards are supported in the SourceFileSpecification.
  33.  
  34. REN or RENAME
  35. Syntax:    RENAME OldName NewName
  36.  
  37. Purpose:    Renames a file.
  38.  
  39. DEL or ERASE
  40. Syntax:    DEL FileSpecification
  41.  
  42. Purpose:    Deletes files. WIldCards are supported.
  43.  
  44. TYPE
  45. Syntax: TYPE FileSpecification
  46.  
  47. Purpose:    Types or Displays ASCII based files to the console. WIldCards are supported for showing multiple files.
  48.  
  49. CD or CHDIR
  50. Syntax:    CD DirectoryPath
  51.  
  52. Purpose: Changes the default directory.
  53.  
  54. MD or MKDIR
  55. Syntax:    MD DirectoryPath
  56.  
  57. Purpose:    Creates a directory.
  58.  
  59. RD or RMDIR
  60. Syntax:    RD DirectoryPath
  61.  
  62. Purpose:    Removes a directory.
  63.  
  64. DIRS
  65. Syntax:    DIRS DirectoryPath
  66.  
  67. Purpose:    Displays a list of directories.
  68.  
  69. DIR
  70. Syntax:    DIR FileSpecification
  71.  
  72. Purpose:    Displays a list of files. WildCards are supported.
  73.  
  74. Window Commands.
  75.  
  76. SHUTDOWN
  77. Syntax:    SHUTDOWN
  78.  
  79. Purpose:    Performs an immediate exit from Windows providing all running applications agree to terminate.
  80.  
  81. GRABWIN
  82. Syntax:    GRABWIN
  83.  
  84. Purpose:    Restores the input focus to the L/P Dos Window, primarily for use in batch file processing.
  85.  
  86. PM
  87. Syntax:    PM
  88.  
  89. Purpose:    Restores the Windows Program Manager.
  90.  
  91. DOS
  92. Syntax:    DOS
  93.  
  94. Purpose:    Start a session based on the DOS COMSPEC Enviroment variable.
  95.  
  96. EXIT
  97. Syntax:    EXIT
  98.  
  99. Purpose:    Terminates the current L/P Dos session.
  100.  
  101. BEEP
  102. Syntax:    BEEP
  103.  
  104. Purpose:    Beeps the console speaker.
  105.  
  106. MAX
  107. Syntax:    MAX
  108.  
  109. Purpose:    Maximizes the L/P Dos Window.
  110.  
  111. MIN
  112. Syntax:    MIN
  113.  
  114. Purpose:    Minimizes the L/P Dos Window.
  115.  
  116. NORM
  117. Syntax:    NORM
  118.  
  119. Purpose:    Restores the L/P Dos Window from either a minimized or maximized state.
  120.  
  121. SAVER
  122. Syntax:    SAVER
  123.  
  124. Purpose:    Starts one of two built in screen savers.
  125.  
  126. Syntax:    SAVER ?
  127.  
  128. Purpose:    Displays the current inactivity delay before the saver starts.
  129.  
  130. Syntax:    SAVER DelayTime
  131.  
  132. Purpose:    Sets the inactivity delay time before saver activation. DelayTime should be the number of seconds of inactivity before activation. SAVER 0 disables the screen saver.
  133.  
  134. Display Commands.
  135.  
  136. COLOR
  137. Syntax:    COLOR ForegroundColor BackgroundColor
  138.  
  139. Purpose:    Changes the display colors for the L/P Dos Window. Color values range from 0 to 15.
  140.  
  141. CLS
  142. Syntax:    CLS
  143.  
  144. Purpose:    Clears the L/P Dos window console display.
  145.  
  146. ECHO
  147. Syntax:    ECHO Message
  148.  
  149. Purpose:    Displays the supplied message on the console.
  150.  
  151. PAUSE
  152. Syntax:    PAUSE [[Message][|Title]]
  153.  
  154. Purpose:    Displays a pause dialog box. If the Title parameter is omitted, "L/P Dos" is displayed in the caption bar of the dialog box. If Message and Title are omitted, the default message "Click OK to continue." is displayed. Message must be present if Title is used.
  155.  
  156. YESNO
  157. Syntax:    YESNO Message|Title|Command
  158.  
  159. Purpose:    Displays a dialog box with Yes and No command buttons. All parameters must be present. Command is any valid L/P Dos command or any valid filename. If the user chooses Yes the command is performed, otherwise the L/P Dos prompt returns, or the next line in a batch file is executed.
  160.  
  161. MSGBOX
  162. Syntax:    MSGBOX Message|Buttons|Title|%%Var
  163.  
  164. Purpose: Displays a custom dialog box.
  165.  
  166. INPUT
  167. Syntax:    INPUT Message|Title|%%Var
  168.  
  169. Purpose:    Displays an input box to get input from the user.
  170.  
  171. Help Window Commands.
  172.  
  173. HELP
  174. Syntax:    HELP
  175.  
  176. Purpose:    Displays the Help Window.
  177.  
  178. -HELP
  179. Syntax:    -HELP
  180.  
  181. Purpose:    Hides the Help Window.
  182.  
  183. Picture Commands.
  184.  
  185. SPIC
  186. Syntax:    SPIC Filename
  187.  
  188. Purpose:    Displays a bitmap in a seperate display window.
  189.  
  190. HPIC
  191. Syntax:    HPIC
  192.  
  193. Purpose:    Hides the display window for a picture.
  194.  
  195. PICSIZE
  196. Syntax:    PICSIZE Height Width
  197.  
  198. Purpose:    Resizes the display window for a picture.
  199.  
  200. PICPOS
  201. Syntax:    PICPOS Left Top
  202.  
  203. Purpose:    Positions the display window for a picture on the desktop.
  204.  
  205. Odds and Ends.
  206.  
  207. FOR
  208. Syntax:    FOR %%Var (set) Command [%%Var]
  209.  
  210. Purpose:    Provides multiple executions of a command based on the contents of (set). Note the variable names must have two "%" percent signs in front of them, unless you want normal variable substitution to be performed.
  211.  
  212. SET
  213. Syntax:    Set Var String
  214.  
  215. Purpose:    Sets the global variable to String.
  216.  
  217. CLEAR
  218. Syntax:    CLEAR
  219.  
  220. Purpose:    Clears all global variables.
  221.  
  222. DATE
  223. Syntax:    DATE
  224.  
  225. Purpose:    Displays the current date on the console.
  226.  
  227. Syntax:    DATE MM-DD-[YY]YY
  228.  
  229. Purpose:    Sets the system date.
  230.  
  231. TIME
  232. Syntax:    TIME
  233.  
  234. Purpose:    Displays the current time on the console.
  235.  
  236. Syntax:    TIME HH:MM[:SS]
  237.  
  238. Purpose:    Sets the system time.
  239.  
  240. ?ALIAS
  241. Syntax:    ?ALIAS
  242.  
  243. Purpose:    Lists all defined aliases on the console.
  244.  
  245. ALIAS
  246. Syntax:    ALIAS Name=Definition
  247.  
  248. Purpose:    Defines an alias command and stores it in WIN.INI. Alias command names can be used to rename commands or give a shorter name to a lengthly program starting procedure.
  249.  
  250. VER
  251. Syntax:    VER
  252.  
  253. Purpose:    Displays the current L/P Dos version and Windows information on the console.
  254.  
  255. SHOW
  256. Syntax:    SHOW ApplicationCaptionText
  257.  
  258. Purpose:    Sets the input focus to a running Windows application, please note that the ApplicationCaptionText must EXACTLY match the text in a windows' Caption (Title) bar.
  259.  
  260. Batch File Commands.
  261.  
  262. IF EXISTS
  263. Syntax:    IF EXISTS Filename Command
  264.  
  265. Purpose: Performs Command if Filename exists.
  266.  
  267. IF NOT EXISTS
  268. Syntax:    IF NOT EXISTS Filename Command
  269.  
  270. Purpose:    Performs Command if Filename does not exist.
  271.  
  272. IF
  273. Syntax:    IF ^expression^^expression^ Command
  274.  
  275. Purpose:    Performs an equality test of the expressions enclosed in Carets "^". If the expressions match, Command is performed. Please note that you can place an equals "=" sign between the expressions for clarity if you wish. (I.E., IF ^expression^=^expression^ Command)
  276.  
  277. GOTO Label
  278. Syntax:    GOTO LabelName
  279.  
  280. Purpose:    Redirects execution in a batch file. LabelName must be defined elsewhere in the batch file. Labels are defined by placing them on a line by themselves and beginning them with a colon ":".
  281.